package com.example.frameboot.been;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel(value = "StudentDto")
public class StudentDto {
   // private String id;
   @NotBlank(message = "name不能为空！")
    private String name;
    private String sex;
}
